package cn.ddd.linktran.infrastructure.record.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;
@Data
@TableName("visit_statistics")
public class VisitStatistics {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "create_time",insertStrategy = FieldStrategy.NOT_NULL)
    private Date createTime;

    @TableField(value = "edit_time",insertStrategy = FieldStrategy.NOT_NULL)
    private Date editTime;

    @TableField(value = "creator",insertStrategy = FieldStrategy.NOT_NULL)
    private String creator;

    @TableField(value = "editor",insertStrategy = FieldStrategy.NOT_NULL)
    private String editor;

    @TableField(value = "deleted",insertStrategy = FieldStrategy.NOT_NULL)
    private Byte deleted;

    @TableField(value = "version",insertStrategy = FieldStrategy.NOT_NULL)
    private Long version;

    @TableField(value = "statistics_date",insertStrategy = FieldStrategy.NOT_NULL)
    private Date statisticsDate;

    @TableField(value = "pv_count",insertStrategy = FieldStrategy.NOT_NULL)
    private Long pvCount;

    @TableField(value = "uv_count",insertStrategy = FieldStrategy.NOT_NULL)
    private Long uvCount;

    @TableField(value = "ip_count",insertStrategy = FieldStrategy.NOT_NULL)
    private Long ipCount;

    @TableField(value = "effective_redirection_count",insertStrategy = FieldStrategy.NOT_NULL)
    private Long effectiveRedirectionCount;

    @TableField(value = "ineffective_redirection_count",insertStrategy = FieldStrategy.NOT_NULL)
    private Long ineffectiveRedirectionCount;

    @TableField(value = "compression_code",insertStrategy = FieldStrategy.NOT_NULL)
    private String compressionCode;

    @TableField(value = "short_url",insertStrategy = FieldStrategy.NOT_NULL)
    private String shortUrl;

    @TableField(value = "long_url",insertStrategy = FieldStrategy.NOT_NULL)
    private String longUrl;
}

